﻿<div style="display: table; width: 99%;">
    <div class="table-row-inp">
        <div class="inp-label" style="font-weight:bold">
            Add / Edit Weight Matrix
        </div>
        <div class="inp-holder">
        </div>
    </div>
    <div class="table-spacer">&nbsp;</div>
    <div class="table-row-inp">
        <div class="inp-label">
            Name
        </div>
        <div class="inp-holder">
            <input type="text" class="inp" ng-model="addEditWeightMatrix.editedWeightMatrix.name">
        </div>
    </div>
    <div class="table-spacer">&nbsp;</div>
    <div class="table-row-inp">
        <div class="inp-label">
            Weight Matrix file
        </div>
        <div class="inp-holder">
            <input type="file" id="customWeightMatrixFile" ng-file-select="addEditWeightMatrix.onSelectExcel($files);" accept=".xls, .xlsx" ng-model="addEditWeightMatrix.editedWeightMatrix.fileName" />
        </div>
    </div>
    <div class="table-spacer" style="line-height: 23px;">&nbsp;</div>
</div>
<br />
<button class="btn-green" ng-click="addEditWeightMatrix.saveAndOrUpload();">Save</button>
<button class="btn-green" ng-click="addEditWeightMatrix.cancel(true)">Cancel</button>
<br />

<!--<div ng-show="addEditWeightMatrix.weightMatrixUploadErrors" style="width: 970px;overflow:auto">
    <pre class="pre-error-view">{{addEditWeightMatrix.weightMatrixUploadErrors}}</pre>
</div>-->